<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/WEB-INF/tld/jmesa.tld" prefix="jmesa" %> 
<%@ taglib prefix="c" uri="/WEB-INF/tld/c.tld" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   
    <title>My JSP 'list_user.jsp' starting page</title>
    <script type="text/javascript" src="/estate/js/jquery-1.2.2.pack.js"></script>
    <script type="text/javascript" src="/estate/js/jquery-1.3.min.js"></script> 
    <script type="text/javascript" src="/estate/js/jquery.jmesa.js"></script>
    <script type="text/javascript" src="/estate/js/jmesa.js"></script>              
    <link rel="stylesheet" type="text/css" href="/estate/css/jmesa.css"></link>
    <link rel="stylesheet" type="text/css" href="/estate/css/css.css"></link>
    <script type="text/javascript">

	</script>
  </head>
  <body>
    <table border="0" cellpadding="0" cellspacing="0" style="background-image:url(/estate/images/gtbg.gif) " width="100%">
    <tr>
      <td width="50%" height="82" rowspan="2"><img src="/estate/images/guide_01.gif"></td>
      <td width="50%" style="background-image:url(/estate/images/guide_02.gif);color:#cc1212; font-size:16px; font-weight:bold; text-align:right; padding-right:50px; letter-spacing:1px; " height="39"><strong>借阅统计</strong></td>
    </tr>
     <tr><td width="50%" style="background-image:url(/estate/images/guide_03.gif); height:43px;" align="center" valign="middle">
    </tr>
</table><br>
<div align="center" >
	<div class="main" align="center" style="width:100%;height:400px;">
  <form id="documentForm"  name="documentForm" action="documentAction.action?method=list" method="post">

  
      <jmesa:struts2TableModel items="${documentList}" id="documentList" var="bean" stateAttr="restore" editable="true" exportTypes="excel"  toolbar="com.estate.utils.JmesaToolBarPage">
          <jmesa:htmlTable style="text-align:center;" width="100%" caption="<div style='height:20px;text-align:center;'>借阅统计</div>">
              <jmesa:htmlRow uniqueProperty="id">
              	  <c:if test="${requestScope.multiType != null and requestScope.multiType}">
	              	  <jmesa:htmlColumn editable="false" sortable="false" property="checkbox" title="<input id='cbAll' name='cbAll' type='checkbox' onclick='selectAllItems()'>全选/全不选</input>" ><input type="checkbox" id="cbMulti" name="cbMulti" value="${bean.id }"/></jmesa:htmlColumn>
          </c:if>
               <jmesa:htmlColumn title="序号" property="id" editable="false"/>
                  <jmesa:htmlColumn title="案卷号" property="documentNum" editable="false" sortable="true"/>
                  <jmesa:htmlColumn title="案卷名称" property="documentName" editable="false" sortable="true"/>
                  <jmesa:htmlColumn title="所属卷库" property="library.libraryName" editable="false"/>
                   <jmesa:htmlColumn title="全宗号" property="fondNum" editable="false" sortable="true"/>
                   <jmesa:htmlColumn title="凭证类别" property="catagoryName" editable="false"/>
                  <jmesa:htmlColumn title="案卷密级" property="secretRate" editable="false" sortable="true"/>
                  <jmesa:htmlColumn title="案卷状态" property="stateName" editable="false" sortable="true"/>
                  <jmesa:htmlColumn title="借阅状态" property="lendStateName" editable="false" sortable="true"/>
                  <jmesa:htmlColumn title="所属项目" property="proName" editable="false" sortable="true"/>
                  <jmesa:htmlColumn title="借阅次数" property="times" editable="false" sortable="true"/>
                 
              </jmesa:htmlRow>
          </jmesa:htmlTable>
      </jmesa:struts2TableModel>
  </form></div></div>
  </body>
</html>